import request from '@/core/utils/request';

const url = {
    login: "auth/login",
    register: "auth/register"
}

export function login(user){
    return request.post(url.login,user);
}

export function register(user){
    return request.post(url.register,user);
}









